package com.bobo.netty.common.bizEnum;

public enum MessageTypeEnum {
    BIND_MSG(0, "绑定"),
    CHAT_MSG(1, "聊天");
    private Integer code;
    private String desc;

    private MessageTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
    public Integer getCode() {
        return code;
    }

    public String getName() {
        return desc;
    }
}
